package com.haorui.lygyd.employeemanager.service;

import com.haorui.base.core.model.Search;
import com.haorui.base.core.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.haorui.lygyd.employeemanager.entity.YuangongpingjiaEntity;
import com.haorui.lygyd.employeemanager.repository.YuangongpingjiaRepository;

/**
 * @support: 西安鑫正豪信息技术有限公司
 * @author: 系统生成
 * @version: 1.0
 * @Date: Wed Feb 27 00:27:31 CST 2019
 * @Description: 员工评价
 */
@Service
public class YuangongpingjiaService extends BaseService<YuangongpingjiaEntity,String> {
    private YuangongpingjiaRepository yuangongpingjiaRepository;
    public YuangongpingjiaService(@Autowired YuangongpingjiaRepository yuangongpingjiaRepository) {
        super(yuangongpingjiaRepository);
        this.yuangongpingjiaRepository=yuangongpingjiaRepository;
    }

    @Override
    protected Search<YuangongpingjiaEntity> getSearch() {
        return new Search<YuangongpingjiaEntity>(YuangongpingjiaEntity.class);
    }
}
